package com.nwu.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nwu.user.domain.User;
import com.nwu.user.service.UserService;
import com.nwu.user.mapper.UserMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 82527
* @description 针对表【user(用户表)】的数据库操作Service实现
* @createDate 2024-05-23 16:07:52
*/
@Service
@RequiredArgsConstructor
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{
    private final UserMapper userMapper;
    @Override
    public List<String> selectPermsByUserId(Long id) {
        return userMapper.selectPermsByUserId(id);
    }
}




